﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Anke.SHManage.Utility
{
    public enum E_JsonResult
    {
        OK = 0,
        Error = 1,
        NoLogin = 2
    }

    public enum E_IMPermisson
    {
        RKHC = 47,
        ZJXG = 48,
        RK = 49,
        RKnoZJ = 54,
        SLXG = 68,
        SLSP = 69,
        CKALLSL = 71

    }
    /// <summary>
    /// 统计权限枚举
    /// </summary>
    public enum E_StatisticsPermisson
    {
        None = -1,
        SELF = 57,
        STATION = 58,
        CENTER = 59,
        ALL = 60,
        ROLE = 61,
        Name = 62,
        LINKDD = 72,
        LINKZJ = 73,
        LINKLD = 74
    }

    /// <summary>
    /// 固定资产模块特殊权限枚举
    /// 2019-11-06 plq
    /// </summary>
    public enum E_FixedAssetsPermission
    {
        固定资产仓库新增修改 = 1390,
        固定资产仓库启禁用 = 1391,
        固定资产分类新增修改 = 1392,
        固定资产分类启禁用 = 1393,

    }


    public enum E_TZAlarmEventType
    {
        救治 = 0,
        回家 = 1,
        转院 = 2,
        转分中心急 = 3,
        转长途 = 4,
        其它 = 5,
        转分中心非 = 6,
        疫情转运 = 7,//add2022-12-21 plq
        特殊事件 = 101,
        跨省 = 102,
        保障 = 103,
        送担架 = 104,
    }

    public enum E_TZAcceptEventType
    {
        正常派车 = 0,
        正常挂起 = 1,
        增援派车 = 2,
        增援挂起 = 3,
        欲派无车 = 4,
        唤醒派车 = 5,
        撤销待派 = 6,
        改派派车 = 7,
        预约挂起 = 8,
        落单 = 9,
        存单 = 10

    }
    public enum E_TZTaskAbendReason
    {
        改派中止 = 0,
        智能改派 = 1,
        急救改派 = 2,
        已救治 = 101,
        死亡不送 = 102,
        病人不去 = 201,
        车到人走 = 202,
        出车后病家退车 = 203,
        突发事件 = 204,
        其他 = 205
    }

    public enum E_TZAlarmEventOrigin
    {

        普通来电 = 0,
        手工制表 = 1,
        自动呼救 = 2,
        远盟 = 3,
        互联急救 = 6,
        //  世界游泳锦标赛 = 0,       
        当天受理 = 8,
        电话预约 = 9,
        网络预约 = 10,
        中心转单 = 11,
        YYL联动 = 101, //110联动 
        五康协议 = 102,
    }

    public enum E_TZAlarmCallType
    {
        C拨打主叫电话 = 0,
        C拨打联系电话 = 1,
        C车辆通话 = 2,
        C人员通话 = 3,
        C分站通话 = 4,
        C预约 = 5,
        C挂起 = 6,
        C无车 = 7,
        C派车 = 8,
        C受理呼出 = 9,
        C落单 = 10,
        C撤销待派 = 11,
        CMPDS处理 = 12,
        C撤销预约 = 13,
        C预约催车 = 14,
        C预约相关 = 15,
        C派车拨打分站 = 16,
        C存单电话 = 17,
        C已派车 = 101,
        C已来电 = 102,
        C现场反馈 = 103,
        C突发事件报告 = 104,
        C用户投诉 = 105,
        C其他相关 = 106,
    }

    public enum E_TZPauseReason
    {
        担架搁置 = 1,
        车辆故障 = 101,
        通信故障 = 102,
        设备故障 = 103,
        交通事故 = 104,
        身体不适 = 105,
        医疗纠纷 = 106,
        原地消毒 = 107,
        二次洗消 = 108,
        返站换人 = 109,
        开具证明 = 110,
        设备搁置 = 111,
        分中心停班 = 112,
        人员迟到 = 113,
        药械缺损 = 114,
        车辆加油 = 115,
        第三方留置 = 116,
        PR其他 = 117, 
    }

    public enum E_TZHangUpReason
    {
        附近无车 = 101,
        转院排队 = 102,
        电话中断 = 103,
        其他原因 = 104,
        非急救排队 = 105,
        C110挂起 = 106,
    }

    /// <summary>
    /// 调度特殊分站字典
    /// add2022-12-16 plq
    /// </summary>
    public enum E_TStation
    {
        发热转运 = 135,
    }
}
